[INFO] cloning repository https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faosp-mirror-neo%2Fplatform_external_rust_crates_rusb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faosp-mirror-neo%2Fplatform_external_rust_crates_rusb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d25052c0af9fa14192cdb4e3deaed15a3bec3979
[INFO] fixing aosp-mirror-neo/platform_external_rust_crates_rusb against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faosp-mirror-neo%2Fplatform_external_rust_crates_rusb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb
[INFO] finished tweaking git repo https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb
[INFO] tweaked toml for git repo https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aosp-mirror-neo/platform_external_rust_crates_rusb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b
[INFO] running `Command { std: "docker" "start" "9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr] The following differences only apply when building with dev-dependencies:
[INFO] [stderr] 
[INFO] [stderr]   libc v0.2.126 (as host dependency) removed features: default, std
[INFO] [stderr]   memchr v2.3.3 (as host dependency) removed features: default, std, use_std
[INFO] [stderr]   phf_shared v0.9.0 removed features: default
[INFO] [stderr] 
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling rusb v0.9.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]     Checking phf_shared v0.9.0
[INFO] [stderr]     Checking phf v0.9.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.9.1
[INFO] [stderr]    Compiling phf_codegen v0.9.0
[INFO] [stderr]    Compiling usb-ids v1.2023.0
[INFO] [stderr]    Migrating examples/list_devices.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/read_device.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/libusb_info.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/hotplug.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.69s
[INFO] [stderr] crater-edition-check: rusb v0.9.4 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling rusb v0.9.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking phf_shared v0.9.0
[INFO] [stderr]     Checking phf v0.9.0
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_handle.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn iter(&self) -> ClaimedInterfacesIter {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn iter(&self) -> ClaimedInterfacesIter<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_handle.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter<'_> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_list.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn iter(&self) -> Devices<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn iter(&self) -> Devices<'_, T> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config_descriptor.rs:75:23
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn interfaces(&self) -> Interfaces {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn interfaces(&self) -> Interfaces<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/endpoint_descriptor.rs:125:37
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub(crate) fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub(crate) fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor<'_> {
[INFO] [stdout]     |                                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/interface_descriptor.rs:161:45
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) unsafe fn from_libusb(interface: &libusb_interface) -> Interface {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) unsafe fn from_libusb(interface: &libusb_interface) -> Interface<'_> {
[INFO] [stdout]     |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.9.1
[INFO] [stderr]    Compiling phf_codegen v0.9.0
[INFO] [stderr]    Compiling usb-ids v1.2023.0
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_handle.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn iter(&self) -> ClaimedInterfacesIter {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn iter(&self) -> ClaimedInterfacesIter<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_handle.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter<'_> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_list.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn iter(&self) -> Devices<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn iter(&self) -> Devices<'_, T> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config_descriptor.rs:75:23
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn interfaces(&self) -> Interfaces {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn interfaces(&self) -> Interfaces<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/endpoint_descriptor.rs:125:37
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub(crate) fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub(crate) fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor<'_> {
[INFO] [stdout]     |                                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/interface_descriptor.rs:161:45
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) unsafe fn from_libusb(interface: &libusb_interface) -> Interface {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) unsafe fn from_libusb(interface: &libusb_interface) -> Interface<'_> {
[INFO] [stdout]     |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.87s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr] The following differences only apply when building with dev-dependencies:
[INFO] [stderr] 
[INFO] [stderr]   libc v0.2.126 (as host dependency) removed features: default, std
[INFO] [stderr]   memchr v2.3.3 (as host dependency) removed features: default, std, use_std
[INFO] [stderr]   phf_shared v0.9.0 removed features: default
[INFO] [stderr] 
[INFO] [stderr]     Checking rusb v0.9.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/interface_descriptor.rs (1 fix)
[INFO] [stderr]        Fixed src/context.rs (2 fixes)
[INFO] [stderr]        Fixed src/device.rs (1 fix)
[INFO] [stderr]        Fixed src/error.rs (1 fix)
[INFO] [stderr]        Fixed src/test_helpers.rs (9 fixes)
[INFO] [stderr]    Migrating examples/list_devices.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/config_descriptor.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:175:41
[INFO] [stdout]     |
[INFO] [stdout] 175 |             unsafe { super::from_libusb(&interface!(interface_descriptor!(bInterfaceNumber: 42))) }
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 176 |                 .number()
[INFO] [stdout]     |                  ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:184:41
[INFO] [stdout]     |
[INFO] [stdout] 184 |             unsafe { super::from_libusb(&interface!(interface_descriptor!(bInterfaceNumber: 42))) }
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 185 |                 .descriptors()
[INFO] [stdout]     |                  ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:196:36
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 super::from_libusb(&interface!(interface_descriptor!(bAlternateSetting: 42)))
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 197 |             }
[INFO] [stdout] 198 |             .descriptors()
[INFO] [stdout]     |              ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:208:41
[INFO] [stdout]     |
[INFO] [stdout] 208 |             unsafe { super::from_libusb(&interface!(interface_descriptor!(bInterfaceClass: 42))) }
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 209 |                 .descriptors()
[INFO] [stdout]     |                  ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:220:36
[INFO] [stdout]     |
[INFO] [stdout] 220 |                 super::from_libusb(&interface!(interface_descriptor!(bInterfaceSubClass: 42)))
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 221 |             }
[INFO] [stdout] 222 |             .descriptors()
[INFO] [stdout]     |              ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:233:36
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 super::from_libusb(&interface!(interface_descriptor!(bInterfaceProtocol: 42)))
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 234 |             }
[INFO] [stdout] 235 |             .descriptors()
[INFO] [stdout]     |              ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:245:41
[INFO] [stdout]     |
[INFO] [stdout] 245 |             unsafe { super::from_libusb(&interface!(interface_descriptor!(iInterface: 42))) }
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 246 |                 .descriptors()
[INFO] [stdout]     |                  ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |             unsafe { super::from_libusb(&interface!(interface_descriptor!(iInterface: 0))) }
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 257 |                 .descriptors()
[INFO] [stdout]     |                  ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/interface_descriptor.rs:270:41
[INFO] [stdout]     |
[INFO] [stdout] 270 |             unsafe { super::from_libusb(&interface!(interface_descriptor!(endpoint1, endpoint2))) }
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 271 |                 .descriptors()
[INFO] [stdout]     |                  ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/read_device.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> examples/list_devices.rs:29:19
[INFO] [stdout]     |
[INFO] [stdout]  22 |     for device in DeviceList::new()?.iter() {
[INFO] [stdout]     |         ------    -------------------------
[INFO] [stdout]     |         |         |
[INFO] [stdout]     |         |         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |         |         `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |         `device` calls a custom destructor
[INFO] [stdout]     |         `device` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  28 |         let mut usb_device = {
[INFO] [stdout]     |             --------------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `usb_device` calls a custom destructor
[INFO] [stdout]     |             `usb_device` will be dropped later as of Edition 2024
[INFO] [stdout]  29 |             match device.open() {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                   up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  30 |                 Ok(h) => match h.read_languages(timeout) {
[INFO] [stdout]     |                    -
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    `h` calls a custom destructor
[INFO] [stdout]     |                    `h` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  46 |         };
[INFO] [stdout]     |          - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout]  59 |             let config_desc = match device.config_descriptor(n) {
[INFO] [stdout]     |                 -----------         ---------------------------
[INFO] [stdout]     |                 |                   |
[INFO] [stdout]     |                 |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                 |                   `#2` will be dropped later as of Edition 2024
[INFO] [stdout]     |                 `config_desc` calls a custom destructor
[INFO] [stdout]     |                 `config_desc` will be dropped later as of Edition 2024
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> src/device_handle.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl<T: UsbContext> Drop for DeviceHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> src/device.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl<T: UsbContext> Drop for Device<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `device` invokes this custom destructor
[INFO] [stdout]    --> src/device.rs:25:1
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl<T: UsbContext> Drop for Device<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `usb_device` invokes this custom destructor
[INFO] [stdout]    --> src/device_handle.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl<T: UsbContext> Drop for DeviceHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `h` invokes this custom destructor
[INFO] [stdout]    --> src/device_handle.rs:119:1
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl<T: UsbContext> Drop for DeviceHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `config_desc` invokes this custom destructor
[INFO] [stdout]    --> src/config_descriptor.rs:12:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> src/config_descriptor.rs:12:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/hotplug.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/libusb_info.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.20s
[INFO] [stderr] crater-edition-check: rusb v0.9.4 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling rusb v0.9.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_handle.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn iter(&self) -> ClaimedInterfacesIter {
[INFO] [stdout]    |             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |             |
[INFO] [stdout]    |             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn iter(&self) -> ClaimedInterfacesIter<'_> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_handle.rs:82:20
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter<'_> {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/device_list.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn iter(&self) -> Devices<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn iter(&self) -> Devices<'_, T> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config_descriptor.rs:75:23
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn interfaces(&self) -> Interfaces {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn interfaces(&self) -> Interfaces<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/endpoint_descriptor.rs:125:37
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub(crate) fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub(crate) fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor<'_> {
[INFO] [stdout]     |                                                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/interface_descriptor.rs:161:45
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) unsafe fn from_libusb(interface: &libusb_interface) -> Interface { unsafe {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub(crate) unsafe fn from_libusb(interface: &libusb_interface) -> Interface<'_> { unsafe {
[INFO] [stdout]     |                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:175:97
[INFO] [stdout]     |
[INFO] [stdout] 175 |               unsafe { super::from_libusb(&interface!(interface_descriptor!(bInterfaceNumber: 42))) }
[INFO] [stdout]     |                                            -------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            in this macro invocation
[INFO] [stdout] 176 |                   .number()
[INFO] [stdout]     |                    ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:184:97
[INFO] [stdout]     |
[INFO] [stdout] 184 |               unsafe { super::from_libusb(&interface!(interface_descriptor!(bInterfaceNumber: 42))) }
[INFO] [stdout]     |                                            -------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            in this macro invocation
[INFO] [stdout] 185 |                   .descriptors()
[INFO] [stdout]     |                    ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:196:93
[INFO] [stdout]     |
[INFO] [stdout] 196 |                   super::from_libusb(&interface!(interface_descriptor!(bAlternateSetting: 42)))
[INFO] [stdout]     |                                       --------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       in this macro invocation
[INFO] [stdout] 197 |               }
[INFO] [stdout] 198 |               .descriptors()
[INFO] [stdout]     |                ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:208:96
[INFO] [stdout]     |
[INFO] [stdout] 208 |               unsafe { super::from_libusb(&interface!(interface_descriptor!(bInterfaceClass: 42))) }
[INFO] [stdout]     |                                            ------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            in this macro invocation
[INFO] [stdout] 209 |                   .descriptors()
[INFO] [stdout]     |                    ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:220:94
[INFO] [stdout]     |
[INFO] [stdout] 220 |                   super::from_libusb(&interface!(interface_descriptor!(bInterfaceSubClass: 42)))
[INFO] [stdout]     |                                       ---------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       in this macro invocation
[INFO] [stdout] 221 |               }
[INFO] [stdout] 222 |               .descriptors()
[INFO] [stdout]     |                ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:233:94
[INFO] [stdout]     |
[INFO] [stdout] 233 |                   super::from_libusb(&interface!(interface_descriptor!(bInterfaceProtocol: 42)))
[INFO] [stdout]     |                                       ---------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       in this macro invocation
[INFO] [stdout] 234 |               }
[INFO] [stdout] 235 |               .descriptors()
[INFO] [stdout]     |                ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:245:91
[INFO] [stdout]     |
[INFO] [stdout] 245 |               unsafe { super::from_libusb(&interface!(interface_descriptor!(iInterface: 42))) }
[INFO] [stdout]     |                                            -------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            in this macro invocation
[INFO] [stdout] 246 |                   .descriptors()
[INFO] [stdout]     |                    ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:256:90
[INFO] [stdout]     |
[INFO] [stdout] 256 |               unsafe { super::from_libusb(&interface!(interface_descriptor!(iInterface: 0))) }
[INFO] [stdout]     |                                            ------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            in this macro invocation
[INFO] [stdout] 257 |                   .descriptors()
[INFO] [stdout]     |                    ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/test_helpers.rs:83:9
[INFO] [stdout]     |
[INFO] [stdout]  83 | /         {
[INFO] [stdout]  84 | |             let descriptors = vec![$($descriptor),*];
[INFO] [stdout]  85 | |
[INFO] [stdout]  86 | |             let r = libusb1_sys::libusb_interface {
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |             r
[INFO] [stdout]  94 | |         }
[INFO] [stdout]     | |_________^ creates a temporary value which is freed while still in use
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interface_descriptor.rs:270:97
[INFO] [stdout]     |
[INFO] [stdout] 270 |               unsafe { super::from_libusb(&interface!(interface_descriptor!(endpoint1, endpoint2))) }
[INFO] [stdout]     |                                            -------------------------------------------------------- temporary value is freed at the end of this statement
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            in this macro invocation
[INFO] [stdout] 271 |                   .descriptors()
[INFO] [stdout]     |                    ----------- borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `interface` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusb` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b", kill_on_drop: false }`
[INFO] [stdout] 9ee2943948f1a0d89b5181af259a5ea33f3f955e14cc3258fac95c122cb7799b
